import { Module } from '@nestjs/common';
import { CommonModule } from './common/module.global'
import { AdminModule } from './admin/admin.module';
import { AppModule } from './app/app.module';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { AppinitModule } from './common/modules/appinit/appinit.module';
import { GenerateSDKModule } from './discovery.module';

/**入口模块 */
@Module({
	imports: [
		/**初始化模块 */
		AppinitModule,
		/**全局模块 */
		CommonModule,
		/**后台模块 */
		AdminModule,
		/**客户端模块 */
		AppModule,
		/**生成接口SDK模块 */
		GenerateSDKModule,
	],
	controllers: [
		AppController
	],
	providers: [
		AppService,
	],
})
export class RootModule { }
